home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000072_amos-request@svcs1.digex.net_Mon Sep 8 21:25:39 1997.msg < prev    next >
Text File  |  1997-10-01  |  4KB  |  84 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail1.access.digex.net (8.8.5/8.8.5) with ESMTP id VAA27674
  3.     for <mcox@access.digex.net>; Mon, 8 Sep 1997 21:25:37 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id RAA12630
  6.     for amos-out; Mon, 8 Sep 1997 17:35:38 -0400 (EDT)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id RAA12626
  9.     for <amos-list@svcs1.digex.net>; Mon, 8 Sep 1997 17:35:37 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id RAA13320
  12.     for <amos-list@access.digex.net>; Mon, 8 Sep 1997 17:35:32 -0400 (EDT)
  13. Received: (qmail 16970 invoked from network); 8 Sep 1997 21:36:18 -0000
  14. Received: from lp5-27.redrose.net (HELO redrose.net) (mushy-pd@205.246.83.219)
  15.   by mail.redrose.net with SMTP; 8 Sep 1997 21:36:18 -0000
  16. From: Mush <mushypd@redrose.net>
  17. Reply-To: Mush <mushypd@redrose.net>
  18. To: amos-list@access.digex.net
  19. Date: Mon, 08 Sep 1997 17:38:35 -0500
  20. Message-ID: <yam7190.1757.5621016@mail.redrose.net>
  21. X-Mailer: YAM 1.3.3a [020] - Amiga Mailer by Marcel Beck
  22. Organization: Mushroom PD - AMOS Public Domain Library
  23. Subject: bug in GUI Extension with Listview
  24. MIME-Version: 1.0
  25. Content-Type: text/plain
  26. Status: O
  27. X-Status: 
  28.  
  29. Sorry if this appears twice, the old title didnt seem to send the mail
  30. view, so I changed it a bit.
  31.  
  32. Im not too sure if anyone else has noticed (I think Adam Parrott had at
  33. some point) there is a bug in the GUI extension (both 1.62 and 1.63) which
  34. causes the conents of the displayed listview to become corrupt.
  35.  
  36. I have noticed this several times when testing my mailinglist manager with
  37. large lists of files (im testing with 2,000+ entries). I have however,
  38. found a way to overcome the problem. The contents are not altered within
  39. the array being used, it is some kind of refresh bug. If you call the
  40. routine GUI SET again shortly after, it should be OK. The best way to
  41. overcome it (how I have done it anyhow) is like so:
  42.  
  43. Procedure GETLIST[LST$]
  44.    (blah blah blah)
  45.    Gui Set 1,0,1,ARRAY(TP$(0))
  46. End Proc
  47.  
  48. Procedure MAIN
  49.    Proc GETLIST["AMOSList"]
  50.    Gui Set 1,0,0,0
  51.    ' The list is displayed, but can be corrupted at this time if the system
  52.    ' wants to be a pain in the bum.
  53.  
  54.    Repeat
  55.       Gui Set 1,0,1,ARRAY(TP$(0)) : Rem Reset the display so it is corrected
  56.  
  57.       A=Gui Wait
  58.  
  59.       If A=0: Rem A Listview Function was Called
  60.          Gui Set 1,0,1,ARRAY(TP$(0)) : Rem Reset to prevent Error
  61.          ....  Add any other Code for the listview function ...
  62.       End If
  63.    Until A=-1 or A=1
  64. End Proc
  65.  
  66. ... And hey presto, its gone! If you dont have the set just before the GUI
  67. Wait command, you often see the mess on the screen until you hit something
  68. inside the listview window, so its nicer to leave it there. Please feel
  69. free to place this message/example in the GUI Guide on the GUI SET command
  70. for Listview, or under the "Known Problems" section.
  71.  
  72. Pietro, is this a bug as such, or just something that the OS does rather
  73. crazily?
  74.  
  75. Andrew "Mushroom" Kellett
  76. --
  77.  Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS* + IAPA Team *AMIGA*
  78.   alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
  79.  
  80.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  81.  
  82.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  83.                             mushy-pd.dyn.ml.org
  84.